package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_save implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
    private static final String _jetns_java = "org.eclipse.jet.javaTags"; //$NON-NLS-1$

    public _jet_save() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_java_format_1_1 = new TagInfo("java:format", //$NON-NLS-1$
            1, 1,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_3_32 = new TagInfo("c:get", //$NON-NLS-1$
            3, 32,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_setVariable_5_2 = new TagInfo("c:setVariable", //$NON-NLS-1$
            5, 2,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$eachTable/primaryKeys/@count", //$NON-NLS-1$
                "countPriKeys", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_6_9 = new TagInfo("c:get", //$NON-NLS-1$
            6, 9,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_6_64 = new TagInfo("c:get", //$NON-NLS-1$
            6, 64,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_6_128 = new TagInfo("c:get", //$NON-NLS-1$
            6, 128,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_6_179 = new TagInfo("c:get", //$NON-NLS-1$
            6, 179,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_3 = new TagInfo("c:get", //$NON-NLS-1$
            7, 3,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_65 = new TagInfo("c:get", //$NON-NLS-1$
            7, 65,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_116 = new TagInfo("c:get", //$NON-NLS-1$
            7, 116,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_8_10 = new TagInfo("c:get", //$NON-NLS-1$
            8, 10,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_8_68 = new TagInfo("c:get", //$NON-NLS-1$
            8, 68,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_8_131 = new TagInfo("c:iterate", //$NON-NLS-1$
            8, 131,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$pcols", //$NON-NLS-1$
                "primaryKey", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_choose_8_175 = new TagInfo("c:choose", //$NON-NLS-1$
            8, 175,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_when_8_185 = new TagInfo("c:when", //$NON-NLS-1$
            8, 185,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$primaryKey/@order=$countPriKeys", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_8_233 = new TagInfo("c:get", //$NON-NLS-1$
            8, 233,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_8_287 = new TagInfo("c:get", //$NON-NLS-1$
            8, 287,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($primaryKey/@field)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_otherwise_8_350 = new TagInfo("c:otherwise", //$NON-NLS-1$
            8, 350,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_8_363 = new TagInfo("c:get", //$NON-NLS-1$
            8, 363,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_8_417 = new TagInfo("c:get", //$NON-NLS-1$
            8, 417,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($primaryKey/@field)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_12_36 = new TagInfo("c:get", //$NON-NLS-1$
            12, 36,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_14_24 = new TagInfo("c:get", //$NON-NLS-1$
            14, 24,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_14_95 = new TagInfo("c:get", //$NON-NLS-1$
            14, 95,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_15_3 = new TagInfo("c:get", //$NON-NLS-1$
            15, 3,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_15_54 = new TagInfo("c:get", //$NON-NLS-1$
            15, 54,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_15_127 = new TagInfo("c:get", //$NON-NLS-1$
            15, 127,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_15_183 = new TagInfo("c:get", //$NON-NLS-1$
            15, 183,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_16_17 = new TagInfo("c:get", //$NON-NLS-1$
            16, 17,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_18_3 = new TagInfo("c:get", //$NON-NLS-1$
            18, 3,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_18_65 = new TagInfo("c:get", //$NON-NLS-1$
            18, 65,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_18_116 = new TagInfo("c:get", //$NON-NLS-1$
            18, 116,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_19_49 = new TagInfo("c:get", //$NON-NLS-1$
            19, 49,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_19_107 = new TagInfo("c:get", //$NON-NLS-1$
            19, 107,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_19_170 = new TagInfo("c:iterate", //$NON-NLS-1$
            19, 170,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$pcols", //$NON-NLS-1$
                "primaryKey", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_choose_19_214 = new TagInfo("c:choose", //$NON-NLS-1$
            19, 214,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_when_19_224 = new TagInfo("c:when", //$NON-NLS-1$
            19, 224,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$primaryKey/@order=$countPriKeys", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_19_272 = new TagInfo("c:get", //$NON-NLS-1$
            19, 272,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_19_326 = new TagInfo("c:get", //$NON-NLS-1$
            19, 326,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($primaryKey/@field)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_otherwise_19_389 = new TagInfo("c:otherwise", //$NON-NLS-1$
            19, 389,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_19_402 = new TagInfo("c:get", //$NON-NLS-1$
            19, 402,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_19_456 = new TagInfo("c:get", //$NON-NLS-1$
            19, 456,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($primaryKey/@field)", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        RuntimeTagElement _jettag_java_format_1_1 = context.getTagFactory().createRuntimeTag(_jetns_java, "format", "java:format", _td_java_format_1_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_format_1_1.setRuntimeParent(null);
        _jettag_java_format_1_1.setTagInfo(_td_java_format_1_1);
        _jettag_java_format_1_1.doStart(context, out);
        JET2Writer _jettag_java_format_1_1_saved_out = out;
        while (_jettag_java_format_1_1.okToProcessBody()) {
            out = out.newNestedContentWriter();
            out.write(NL);         
            // 针对自身表
            out.write("\t@RequestMapping(value = \"/save");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_3_32 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_32); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_3_32.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_3_32.setTagInfo(_td_c_get_3_32);
            _jettag_c_get_3_32.doStart(context, out);
            _jettag_c_get_3_32.doEnd();
            out.write("\", method = RequestMethod.PUT)");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t@ResponseBody");  //$NON-NLS-1$        
            out.write(NL);         
            RuntimeTagElement _jettag_c_setVariable_5_2 = context.getTagFactory().createRuntimeTag(_jetns_c, "setVariable", "c:setVariable", _td_c_setVariable_5_2); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_setVariable_5_2.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_setVariable_5_2.setTagInfo(_td_c_setVariable_5_2);
            _jettag_c_setVariable_5_2.doStart(context, out);
            _jettag_c_setVariable_5_2.doEnd();
            out.write("\tpublic ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_6_9 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_6_9); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_6_9.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_6_9.setTagInfo(_td_c_get_6_9);
            _jettag_c_get_6_9.doStart(context, out);
            _jettag_c_get_6_9.doEnd();
            out.write(" save");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_6_64 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_6_64); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_6_64.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_6_64.setTagInfo(_td_c_get_6_64);
            _jettag_c_get_6_64.doStart(context, out);
            _jettag_c_get_6_64.doEnd();
            out.write("(@RequestBody ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_6_128 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_6_128); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_6_128.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_6_128.setTagInfo(_td_c_get_6_128);
            _jettag_c_get_6_128.doStart(context, out);
            _jettag_c_get_6_128.doEnd();
            out.write(" ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_6_179 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_6_179); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_6_179.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_6_179.setTagInfo(_td_c_get_6_179);
            _jettag_c_get_6_179.doStart(context, out);
            _jettag_c_get_6_179.doEnd();
            out.write(") {");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_7_3 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_3); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_7_3.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_7_3.setTagInfo(_td_c_get_7_3);
            _jettag_c_get_7_3.doStart(context, out);
            _jettag_c_get_7_3.doEnd();
            out.write("Service.save");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_7_65 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_65); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_7_65.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_7_65.setTagInfo(_td_c_get_7_65);
            _jettag_c_get_7_65.doStart(context, out);
            _jettag_c_get_7_65.doEnd();
            out.write("(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_7_116 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_116); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_7_116.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_7_116.setTagInfo(_td_c_get_7_116);
            _jettag_c_get_7_116.doStart(context, out);
            _jettag_c_get_7_116.doEnd();
            out.write(");");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\treturn ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_8_10 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_8_10); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_8_10.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_8_10.setTagInfo(_td_c_get_8_10);
            _jettag_c_get_8_10.doStart(context, out);
            _jettag_c_get_8_10.doEnd();
            out.write("DAO.find");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_8_68 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_8_68); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_8_68.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_8_68.setTagInfo(_td_c_get_8_68);
            _jettag_c_get_8_68.doStart(context, out);
            _jettag_c_get_8_68.doEnd();
            out.write("ByPrimaryKey(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_iterate_8_131 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_8_131); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_iterate_8_131.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_iterate_8_131.setTagInfo(_td_c_iterate_8_131);
            _jettag_c_iterate_8_131.doStart(context, out);
            while (_jettag_c_iterate_8_131.okToProcessBody()) {
                RuntimeTagElement _jettag_c_choose_8_175 = context.getTagFactory().createRuntimeTag(_jetns_c, "choose", "c:choose", _td_c_choose_8_175); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_choose_8_175.setRuntimeParent(_jettag_c_iterate_8_131);
                _jettag_c_choose_8_175.setTagInfo(_td_c_choose_8_175);
                _jettag_c_choose_8_175.doStart(context, out);
                JET2Writer _jettag_c_choose_8_175_saved_out = out;
                while (_jettag_c_choose_8_175.okToProcessBody()) {
                    out = out.newNestedContentWriter();
                    RuntimeTagElement _jettag_c_when_8_185 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_8_185); //$NON-NLS-1$ //$NON-NLS-2$
                    _jettag_c_when_8_185.setRuntimeParent(_jettag_c_choose_8_175);
                    _jettag_c_when_8_185.setTagInfo(_td_c_when_8_185);
                    _jettag_c_when_8_185.doStart(context, out);
                    JET2Writer _jettag_c_when_8_185_saved_out = out;
                    while (_jettag_c_when_8_185.okToProcessBody()) {
                        out = out.newNestedContentWriter();
                        RuntimeTagElement _jettag_c_get_8_233 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_8_233); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_8_233.setRuntimeParent(_jettag_c_when_8_185);
                        _jettag_c_get_8_233.setTagInfo(_td_c_get_8_233);
                        _jettag_c_get_8_233.doStart(context, out);
                        _jettag_c_get_8_233.doEnd();
                        out.write(".get");  //$NON-NLS-1$        
                        RuntimeTagElement _jettag_c_get_8_287 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_8_287); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_8_287.setRuntimeParent(_jettag_c_when_8_185);
                        _jettag_c_get_8_287.setTagInfo(_td_c_get_8_287);
                        _jettag_c_get_8_287.doStart(context, out);
                        _jettag_c_get_8_287.doEnd();
                        out.write("()");  //$NON-NLS-1$        
                        _jettag_c_when_8_185.handleBodyContent(out);
                    }
                    out = _jettag_c_when_8_185_saved_out;
                    _jettag_c_when_8_185.doEnd();
                    RuntimeTagElement _jettag_c_otherwise_8_350 = context.getTagFactory().createRuntimeTag(_jetns_c, "otherwise", "c:otherwise", _td_c_otherwise_8_350); //$NON-NLS-1$ //$NON-NLS-2$
                    _jettag_c_otherwise_8_350.setRuntimeParent(_jettag_c_choose_8_175);
                    _jettag_c_otherwise_8_350.setTagInfo(_td_c_otherwise_8_350);
                    _jettag_c_otherwise_8_350.doStart(context, out);
                    JET2Writer _jettag_c_otherwise_8_350_saved_out = out;
                    while (_jettag_c_otherwise_8_350.okToProcessBody()) {
                        out = out.newNestedContentWriter();
                        RuntimeTagElement _jettag_c_get_8_363 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_8_363); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_8_363.setRuntimeParent(_jettag_c_otherwise_8_350);
                        _jettag_c_get_8_363.setTagInfo(_td_c_get_8_363);
                        _jettag_c_get_8_363.doStart(context, out);
                        _jettag_c_get_8_363.doEnd();
                        out.write(".get");  //$NON-NLS-1$        
                        RuntimeTagElement _jettag_c_get_8_417 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_8_417); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_8_417.setRuntimeParent(_jettag_c_otherwise_8_350);
                        _jettag_c_get_8_417.setTagInfo(_td_c_get_8_417);
                        _jettag_c_get_8_417.doStart(context, out);
                        _jettag_c_get_8_417.doEnd();
                        out.write("(),");  //$NON-NLS-1$        
                        _jettag_c_otherwise_8_350.handleBodyContent(out);
                    }
                    out = _jettag_c_otherwise_8_350_saved_out;
                    _jettag_c_otherwise_8_350.doEnd();
                    _jettag_c_choose_8_175.handleBodyContent(out);
                }
                out = _jettag_c_choose_8_175_saved_out;
                _jettag_c_choose_8_175.doEnd();
                _jettag_c_iterate_8_131.handleBodyContent(out);
            }
            _jettag_c_iterate_8_131.doEnd();
            out.write(");");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t}");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t");  //$NON-NLS-1$        
            out.write(NL);         
            // 2019-10-19 杨宏宇
            out.write("\t@RequestMapping(value = \"/restSave");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_12_36 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_12_36); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_12_36.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_12_36.setTagInfo(_td_c_get_12_36);
            _jettag_c_get_12_36.doStart(context, out);
            _jettag_c_get_12_36.doEnd();
            out.write("\", method = RequestMethod.PUT)");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t@ResponseBody");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\tpublic Object restSave");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_14_24 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_14_24); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_14_24.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_14_24.setTagInfo(_td_c_get_14_24);
            _jettag_c_get_14_24.doStart(context, out);
            _jettag_c_get_14_24.doEnd();
            out.write("(@RequestBody String ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_14_95 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_14_95); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_14_95.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_14_95.setTagInfo(_td_c_get_14_95);
            _jettag_c_get_14_95.doStart(context, out);
            _jettag_c_get_14_95.doEnd();
            out.write("Json) {");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_15_3 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_15_3); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_15_3.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_15_3.setTagInfo(_td_c_get_15_3);
            _jettag_c_get_15_3.doStart(context, out);
            _jettag_c_get_15_3.doEnd();
            out.write(" ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_15_54 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_15_54); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_15_54.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_15_54.setTagInfo(_td_c_get_15_54);
            _jettag_c_get_15_54.doStart(context, out);
            _jettag_c_get_15_54.doEnd();
            out.write(" = new Gson().fromJson(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_15_127 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_15_127); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_15_127.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_15_127.setTagInfo(_td_c_get_15_127);
            _jettag_c_get_15_127.doStart(context, out);
            _jettag_c_get_15_127.doEnd();
            out.write("Json, ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_15_183 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_15_183); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_15_183.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_15_183.setTagInfo(_td_c_get_15_183);
            _jettag_c_get_15_183.doStart(context, out);
            _jettag_c_get_15_183.doEnd();
            out.write(".class);");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\temaCompletion(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_16_17 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_16_17); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_16_17.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_16_17.setTagInfo(_td_c_get_16_17);
            _jettag_c_get_16_17.doStart(context, out);
            _jettag_c_get_16_17.doEnd();
            out.write(");");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\tCmiPsonService cmiPsonService = new CmiPsonService();");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_18_3 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_18_3); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_18_3.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_18_3.setTagInfo(_td_c_get_18_3);
            _jettag_c_get_18_3.doStart(context, out);
            _jettag_c_get_18_3.doEnd();
            out.write("Service.save");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_18_65 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_18_65); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_18_65.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_18_65.setTagInfo(_td_c_get_18_65);
            _jettag_c_get_18_65.doStart(context, out);
            _jettag_c_get_18_65.doEnd();
            out.write("(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_18_116 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_18_116); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_18_116.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_18_116.setTagInfo(_td_c_get_18_116);
            _jettag_c_get_18_116.doStart(context, out);
            _jettag_c_get_18_116.doEnd();
            out.write(");");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\treturn JSONObject.parse(cmiPsonService.toJson(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_19_49 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_19_49); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_19_49.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_19_49.setTagInfo(_td_c_get_19_49);
            _jettag_c_get_19_49.doStart(context, out);
            _jettag_c_get_19_49.doEnd();
            out.write("DAO.find");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_19_107 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_19_107); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_19_107.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_get_19_107.setTagInfo(_td_c_get_19_107);
            _jettag_c_get_19_107.doStart(context, out);
            _jettag_c_get_19_107.doEnd();
            out.write("ByPrimaryKey(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_iterate_19_170 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_19_170); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_iterate_19_170.setRuntimeParent(_jettag_java_format_1_1);
            _jettag_c_iterate_19_170.setTagInfo(_td_c_iterate_19_170);
            _jettag_c_iterate_19_170.doStart(context, out);
            while (_jettag_c_iterate_19_170.okToProcessBody()) {
                RuntimeTagElement _jettag_c_choose_19_214 = context.getTagFactory().createRuntimeTag(_jetns_c, "choose", "c:choose", _td_c_choose_19_214); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_choose_19_214.setRuntimeParent(_jettag_c_iterate_19_170);
                _jettag_c_choose_19_214.setTagInfo(_td_c_choose_19_214);
                _jettag_c_choose_19_214.doStart(context, out);
                JET2Writer _jettag_c_choose_19_214_saved_out = out;
                while (_jettag_c_choose_19_214.okToProcessBody()) {
                    out = out.newNestedContentWriter();
                    RuntimeTagElement _jettag_c_when_19_224 = context.getTagFactory().createRuntimeTag(_jetns_c, "when", "c:when", _td_c_when_19_224); //$NON-NLS-1$ //$NON-NLS-2$
                    _jettag_c_when_19_224.setRuntimeParent(_jettag_c_choose_19_214);
                    _jettag_c_when_19_224.setTagInfo(_td_c_when_19_224);
                    _jettag_c_when_19_224.doStart(context, out);
                    JET2Writer _jettag_c_when_19_224_saved_out = out;
                    while (_jettag_c_when_19_224.okToProcessBody()) {
                        out = out.newNestedContentWriter();
                        RuntimeTagElement _jettag_c_get_19_272 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_19_272); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_19_272.setRuntimeParent(_jettag_c_when_19_224);
                        _jettag_c_get_19_272.setTagInfo(_td_c_get_19_272);
                        _jettag_c_get_19_272.doStart(context, out);
                        _jettag_c_get_19_272.doEnd();
                        out.write(".get");  //$NON-NLS-1$        
                        RuntimeTagElement _jettag_c_get_19_326 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_19_326); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_19_326.setRuntimeParent(_jettag_c_when_19_224);
                        _jettag_c_get_19_326.setTagInfo(_td_c_get_19_326);
                        _jettag_c_get_19_326.doStart(context, out);
                        _jettag_c_get_19_326.doEnd();
                        out.write("()");  //$NON-NLS-1$        
                        _jettag_c_when_19_224.handleBodyContent(out);
                    }
                    out = _jettag_c_when_19_224_saved_out;
                    _jettag_c_when_19_224.doEnd();
                    RuntimeTagElement _jettag_c_otherwise_19_389 = context.getTagFactory().createRuntimeTag(_jetns_c, "otherwise", "c:otherwise", _td_c_otherwise_19_389); //$NON-NLS-1$ //$NON-NLS-2$
                    _jettag_c_otherwise_19_389.setRuntimeParent(_jettag_c_choose_19_214);
                    _jettag_c_otherwise_19_389.setTagInfo(_td_c_otherwise_19_389);
                    _jettag_c_otherwise_19_389.doStart(context, out);
                    JET2Writer _jettag_c_otherwise_19_389_saved_out = out;
                    while (_jettag_c_otherwise_19_389.okToProcessBody()) {
                        out = out.newNestedContentWriter();
                        RuntimeTagElement _jettag_c_get_19_402 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_19_402); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_19_402.setRuntimeParent(_jettag_c_otherwise_19_389);
                        _jettag_c_get_19_402.setTagInfo(_td_c_get_19_402);
                        _jettag_c_get_19_402.doStart(context, out);
                        _jettag_c_get_19_402.doEnd();
                        out.write(".get");  //$NON-NLS-1$        
                        RuntimeTagElement _jettag_c_get_19_456 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_19_456); //$NON-NLS-1$ //$NON-NLS-2$
                        _jettag_c_get_19_456.setRuntimeParent(_jettag_c_otherwise_19_389);
                        _jettag_c_get_19_456.setTagInfo(_td_c_get_19_456);
                        _jettag_c_get_19_456.doStart(context, out);
                        _jettag_c_get_19_456.doEnd();
                        out.write("(),");  //$NON-NLS-1$        
                        _jettag_c_otherwise_19_389.handleBodyContent(out);
                    }
                    out = _jettag_c_otherwise_19_389_saved_out;
                    _jettag_c_otherwise_19_389.doEnd();
                    _jettag_c_choose_19_214.handleBodyContent(out);
                }
                out = _jettag_c_choose_19_214_saved_out;
                _jettag_c_choose_19_214.doEnd();
                _jettag_c_iterate_19_170.handleBodyContent(out);
            }
            _jettag_c_iterate_19_170.doEnd();
            out.write(")));");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t}");  //$NON-NLS-1$        
            out.write(NL);         
            _jettag_java_format_1_1.handleBodyContent(out);
        }
        out = _jettag_java_format_1_1_saved_out;
        _jettag_java_format_1_1.doEnd();
    }
}
